<ul class="nav">
    <li ng-class="{active:$state.includes('douxiaoli.commoditymanagement')}">
        <a href class="auto">
            <span class="pull-right text-muted">
            <i class="fa fa-fw fa-angle-right text"></i>
            <i class="fa fa-fw fa-angle-down text-active"></i>
        </span>
            <i class="glyphicon glyphicon-briefcase icon"></i>
            <span>商品管理</span>
        </a>
        <ul class="nav nav-sub dk">
            <li class="nav-sub-header">
                <a href>
                    <span>商品管理</span>
                </a>
            </li>
            <li ui-sref-active="active">
                <a ui-sref="douxiaoli.commoditymanagement.viewgoods">
                    <span>查看商品</span>
                </a>
            </li>
            <li ui-sref-active="active">
                <a ui-sref="douxiaoli.commoditymanagement.addgoods">
                    <span>添加商品</span>
                </a>
            </li>
        </ul>
    </li>

    <li ng-class="{active:$state.includes('douxiaoli.columnmanagement')}">
        <a href class="auto">
            <span class="pull-right text-muted">
                <i class="fa fa-fw fa-angle-right text"></i>
                <i class="fa fa-fw fa-angle-down text-active"></i>
            </span>
            <i class="glyphicon glyphicon-th-list icon"></i>
            <span>栏目管理</span>
        </a>
        <ul class="nav nav-sub dk">
            <li class="nav-sub-header">
                <a href>
                    <span>栏目管理</span>
                </a>
            </li>
            <li ui-sref-active="active">
                <a ui-sref="douxiaoli.columnmanagement.viewcolumn">
                    <span>查看栏目</span>
                </a>
            </li>
            <li ui-sref-active="active">
                <a ui-sref="douxiaoli.columnmanagement.addcolumn">
                    <span>添加栏目</span>
                </a>
            </li>
        </ul>
    </li>
</ul>